package discov

func getServiceHashName(service string) string {
	return "_hash_id/" + service
}

func getServiceName(service string) string {
	return "_service/" + service
}

func getServiceInstName(service, sessionID string) string {
	return getServiceName(service) + "/" + sessionID
}

func getServiceHashNameWithID(service, hashID string) string {
	return getServiceHashName(service) + "/" + hashID
}

func getLockName(service string) string {
	return "etcd_lock/" + service
}
